<%@ Page Language="C#" MasterPageFile="~/NiSis.Master" AutoEventWireup="true" CodeBehind="Report.aspx.cs" Inherits="NiSis.Report" Title="Untitled Page" %>

<%@ Register Src="UserControls/MeseAnnoPicker.ascx" TagName="MeseAnnoPicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <asp:Label ID="lblTitle" Text="Report" BackColor="#666666" BorderColor="#E6E2D8" Font-Bold="True" Font-Size="0.9em" ForeColor="White" Width="600px" runat="server" />
    <br />        
    <br />
    <uc1:MeseAnnoPicker ID="MeseAnnoPicker1" runat="server" />
    <asp:ImageButton ID="cmdRefreshGrid" runat="server" ImageUrl="~/Img/refresh.jpg" OnClick="cmdRefreshGrid_Click" />
    <br />
    <br />
    <asp:GridView ID="grdReport" OnRowDataBound="grdReport_RowDataBound" runat="server"  AutoGenerateColumns="False" CellPadding="4"
        ForeColor="#333333" GridLines="None" Visible="False">
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:BoundField DataField="DsCliente" HeaderText="Societa" HtmlEncode="False" >
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:BoundField DataField="CdPuntoFornitura" HeaderText="Punto" >
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:BoundField HeaderText="Pool" DataField="CdPool" />
            <asp:BoundField DataField="DsComune"  HeaderText="Comuni" HtmlEncode="False" />
            <asp:BoundField DataField="DsSocieta" HeaderText="Trade uscente" HtmlEncode="False" >
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:BoundField DataField="ConsumoAnnuoStimato" HeaderText="Volume annuale" />
            <asp:BoundField DataField="CdPrelievoAeeg" HeaderText="Profili" />
            <asp:BoundField DataField="SAreaUscita" HeaderText="Area Uscita" />
            <asp:BoundField DataField="DsTrasportatore" HeaderText="Trasportatore" HtmlEncode="False" >
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:BoundField DataField="DsShipper" HeaderText="Shipper Identificato" HtmlEncode="False" >
                <ItemStyle Wrap="False" />
            </asp:BoundField>
            <asp:BoundField DataField="DscStato" HeaderText="Stato" />
        </Columns>
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
        <EmptyDataTemplate>
            Non ci sono i dati
        </EmptyDataTemplate>
    </asp:GridView>
    <asp:Button ID="CmdCvs" runat="server" OnClick="CmdCvs_Click" Text="Genera file csv"
        Visible="False" />
</asp:Content>
